package com.example.buletooth_spp;

class RecDataFrame {
    //提取每个参数并转换为合适的类型
    private boolean lightState;
    private int fanSpeed;
    private int rangeHoodSpeed;
    private boolean warningOpenFlags[] = new boolean[4];
    private float curNums[] = new float[4];
    private float warningNums[] = new float[4];

    public boolean getLightState() {
        return lightState;
    }

    public void setLightState(boolean lightState) {
        this.lightState = lightState;
    }

    public int getFanSpeed() {
        return fanSpeed;
    }

    public void setFanSpeed(int fanSpeed) {
        this.fanSpeed = fanSpeed;
    }

    public int getRangeHoodSpeed() {
        return rangeHoodSpeed;
    }

    public void setRangeHoodSpeed(int rangeHoodSpeed) {
        this.rangeHoodSpeed = rangeHoodSpeed;
    }

    public boolean[] getWarningOpenFlags() {
        return warningOpenFlags;
    }

    public void setWarningOpenFlags(boolean[] warningOpenFlags) {
        this.warningOpenFlags = warningOpenFlags;
    }

    public float[] getCurNums() {
        return curNums;
    }

    public void setCurNums(float[] curNums) {
        this.curNums = curNums;
    }

    public float[] getWarningNums() {
        return warningNums;
    }

    public void setWarningNums(float[] warningNums) {
        this.warningNums = warningNums;
    }
}
